package cn.kgc.crowdfundingadminspringboot.mapper;
import cn.kgc.crowdfundingadminspringboot.pojo.T_admin;
import cn.kgc.crowdfundingadminspringboot.pojo.T_adminExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface T_adminMapper {
    int countByExample(T_adminExample example);

    int deleteByExample(T_adminExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(T_admin record);

    int insertSelective(T_admin record);

    List<T_admin> selectByExample(T_adminExample example);

    T_admin selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") T_admin record, @Param("example") T_adminExample example);

    int updateByExample(@Param("record") T_admin record, @Param("example") T_adminExample example);

    int updateByPrimaryKeySelective(T_admin record);

    int updateByPrimaryKey(T_admin record);
}